<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="page" value="#{sysUserAppCompPrivilegeBean.page}"/>
		<f:event type="preRenderView" listener="#{sysUserAppCompPrivilegeBean.paginate}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Search Sys User App Comp Privilege entities"/>

	<ui:define name="header">
		Sys User App Comp Privilege
	</ui:define>

	<ui:define name="subheader">
		Search Sys User App Comp Privilege entities
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="search">
			<f:validateBean disabled="true">
				<h:panelGroup styleClass="search">

					<h:panelGrid columnClasses="label,component,required" columns="3">
						<h:outputLabel for="sysUserAppCompPrivilegeBeanExampleSysUserLogin" value="Sys User Login:"/>
						<h:panelGroup>
							<h:selectOneMenu converter="#{sysUserLoginBean.converter}" id="sysUserAppCompPrivilegeBeanExampleSysUserLogin" value="#{sysUserAppCompPrivilegeBean.example.sysUserLogin}">
								<f:selectItem/>
								<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysUserLoginBean.all}" var="_item"/>
							</h:selectOneMenu>
							<h:message for="sysUserAppCompPrivilegeBeanExampleSysUserLogin" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sysUserAppCompPrivilegeBeanExampleSysAppComp" value="Sys App Comp:"/>
						<h:panelGroup>
							<h:selectOneMenu converter="#{sysAppCompBean.converter}" id="sysUserAppCompPrivilegeBeanExampleSysAppComp" value="#{sysUserAppCompPrivilegeBean.example.sysAppComp}">
								<f:selectItem/>
								<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAppCompBean.all}" var="_item"/>
							</h:selectOneMenu>
							<h:message for="sysUserAppCompPrivilegeBeanExampleSysAppComp" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sysUserAppCompPrivilegeBeanExampleAllowView" value="Allow View:"/>
						<h:panelGroup>
							<h:inputText id="sysUserAppCompPrivilegeBeanExampleAllowView" value="#{sysUserAppCompPrivilegeBean.example.allowView}"/>
							<h:message for="sysUserAppCompPrivilegeBeanExampleAllowView" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sysUserAppCompPrivilegeBeanExampleAllowEdit" value="Allow Edit:"/>
						<h:panelGroup>
							<h:inputText id="sysUserAppCompPrivilegeBeanExampleAllowEdit" value="#{sysUserAppCompPrivilegeBean.example.allowEdit}"/>
							<h:message for="sysUserAppCompPrivilegeBeanExampleAllowEdit" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sysUserAppCompPrivilegeBeanExampleAllowAdd" value="Allow Add:"/>
						<h:panelGroup>
							<h:inputText id="sysUserAppCompPrivilegeBeanExampleAllowAdd" value="#{sysUserAppCompPrivilegeBean.example.allowAdd}"/>
							<h:message for="sysUserAppCompPrivilegeBeanExampleAllowAdd" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
					</h:panelGrid>
					<h:panelGroup styleClass="buttons">
						<h:commandLink value="Search" action="#{sysUserAppCompPrivilegeBean.search}" styleClass="btn btn-primary"/>
						<h:commandLink value="Create New" action="#{sysUserAppCompPrivilegeBean.create}" styleClass="btn btn-primary"/>
					</h:panelGroup>
				</h:panelGroup>
			</f:validateBean>
			
			<h:dataTable id="sysUserAppCompPrivilegeBeanPageItems" styleClass="data-table" value="#{sysUserAppCompPrivilegeBean.pageItems}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys User Login"/>
					</f:facet>
					<h:link outcome="/form/sysUserAppCompPrivilege/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysUserLogin" value="#{forgeview:display(_item.sysUserLogin)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys App Comp"/>
					</f:facet>
					<h:link outcome="/form/sysUserAppCompPrivilege/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAppComp" value="#{forgeview:display(_item.sysAppComp)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Allow View"/>
					</f:facet>
					<h:link outcome="/form/sysUserAppCompPrivilege/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemAllowView" value="#{_item.allowView}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Allow Edit"/>
					</f:facet>
					<h:link outcome="/form/sysUserAppCompPrivilege/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemAllowEdit" value="#{_item.allowEdit}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Allow Add"/>
					</f:facet>
					<h:link outcome="/form/sysUserAppCompPrivilege/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemAllowAdd" value="#{_item.allowAdd}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<ui:include src="/resources/scaffold/paginator.xhtml">
				<ui:param name="paginatorBean" value="#{sysUserAppCompPrivilegeBean}"/>
			</ui:include>
		</h:form>
			
	</ui:define>

</ui:composition>
